/**
 * Copyright (c) 2015-2017, Henry Yang 杨勇 (gismail@foxmail.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 * <p>
 * http://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.mapfinal.portal.model.sql;

import com.lambkit.db.sql.ConditionMode;
import com.lambkit.db.sql.column.Column;
import com.lambkit.db.sql.column.Columns;
import com.lambkit.db.sql.column.Example;

import java.io.Serializable;
import java.util.List;

/**
 * @author yangyong 
 * @website: www.lambkit.com
 * @email: gismail@foxmail.com
 * @date 2019-05-23
 * @version 1.0
 * @since 1.0
 */
public class LinksCriteria extends Columns implements Serializable {
	private static final long serialVersionUID = 1L;
	
	public static LinksCriteria create() {
		return new LinksCriteria();
	}
	
	public static LinksCriteria create(Column column) {
		LinksCriteria that = new LinksCriteria();
		that.add(column);
        return that;
    }

    public static LinksCriteria create(String name, Object value) {
        return (LinksCriteria) create().eq(name, value);
    }
    
    public Example example() {
    	return Example.create("cms_links", this);
    }
    
    /**
     * equals
     *
     * @param name
     * @param value
     * @return
     */
    public LinksCriteria eq(String name, Object value) {
    	super.eq(name, value);
        return this;
    }

    /**
     * not equals !=
     *
     * @param name
     * @param value
     * @return
     */
    public LinksCriteria ne(String name, Object value) {
    	super.ne(name, value);
        return this;
    }


    /**
     * like
     *
     * @param name
     * @param value
     * @return
     */

    public LinksCriteria like(String name, Object value) {
    	super.like(name, value);
        return this;
    }
    
    public LinksCriteria notLike(String name, Object value) {
    	super.notLike(name, value);
        return this;
    }

    /**
     * 大于 great than
     *
     * @param name
     * @param value
     * @return
     */
    public LinksCriteria gt(String name, Object value) {
    	super.gt(name, value);
        return this;
    }

    /**
     * 大于等于 great or equal
     *
     * @param name
     * @param value
     * @return
     */
    public LinksCriteria ge(String name, Object value) {
    	super.ge(name, value);
        return this;
    }

    /**
     * 小于 less than
     *
     * @param name
     * @param value
     * @return
     */
    public LinksCriteria lt(String name, Object value) {
    	super.lt(name, value);
        return this;
    }

    /**
     * 小于等于 less or equal
     *
     * @param name
     * @param value
     * @return
     */
    public LinksCriteria le(String name, Object value) {
    	super.le(name, value);
        return this;
    }
    
    public LinksCriteria isnull(String name) {
    	super.isnull(name);
        return this;
    } 

    public LinksCriteria notNull(String name) {
    	super.notNull(name);
        return this;
    } 
    
    public LinksCriteria empty(String name) {
    	super.empty(name);
        return this;
    } 
    
    public LinksCriteria notEmpty(String name) {
    	super.notEmpty(name);
        return this;
    } 
    
    public LinksCriteria add(Column column) {
    	super.add(column);
    	return this;
    }
    
    /**************************/
	
	public void addCriterion(String name, Object value, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value == null) {
			 throw new RuntimeException("Value for " + property + " cannot be null");
		 }
		 add(Column.create(name, value, logic, typeHandler, valueType));
	}
   
	public void addCriterion(String name, Object value1, Object value2, ConditionMode logic, String property, String typeHandler, String valueType) {
		 if (value1 == null || value2 == null) {
			 throw new RuntimeException("Between values for " + property + " cannot be null");
		 }
		 add(Column.create(name, value1, value2, logic, typeHandler, valueType));
	}
		 
	public LinksCriteria andIdIsNull() {
		isnull("id");
		return this;
	}
	
	public LinksCriteria andIdIsNotNull() {
		notNull("id");
		return this;
	}
	
	public LinksCriteria andIdIsEmpty() {
		empty("id");
		return this;
	}

	public LinksCriteria andIdIsNotEmpty() {
		notEmpty("id");
		return this;
	}
       public LinksCriteria andIdEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public LinksCriteria andIdNotEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.NOT_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public LinksCriteria andIdGreaterThan(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.GREATER_THEN, "id", "java.lang.Long", "Float");
          return this;
      }

      public LinksCriteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.GREATER_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public LinksCriteria andIdLessThan(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.LESS_THEN, "id", "java.lang.Long", "Float");
          return this;
      }

      public LinksCriteria andIdLessThanOrEqualTo(java.lang.Long value) {
          addCriterion("id", value, ConditionMode.LESS_EQUAL, "id", "java.lang.Long", "Float");
          return this;
      }

      public LinksCriteria andIdBetween(java.lang.Long value1, java.lang.Long value2) {
    	  addCriterion("id", value1, value2, ConditionMode.BETWEEN, "id", "java.lang.Long", "Float");
    	  return this;
      }

      public LinksCriteria andIdNotBetween(java.lang.Long value1, java.lang.Long value2) {
          addCriterion("id", value1, value2, ConditionMode.NOT_BETWEEN, "id", "java.lang.Long", "Float");
          return this;
      }
        
      public LinksCriteria andIdIn(List<java.lang.Long> values) {
          addCriterion("id", values, ConditionMode.IN, "id", "java.lang.Long", "Float");
          return this;
      }

      public LinksCriteria andIdNotIn(List<java.lang.Long> values) {
          addCriterion("id", values, ConditionMode.NOT_IN, "id", "java.lang.Long", "Float");
          return this;
      }
	public LinksCriteria andUrlIsNull() {
		isnull("url");
		return this;
	}
	
	public LinksCriteria andUrlIsNotNull() {
		notNull("url");
		return this;
	}
	
	public LinksCriteria andUrlIsEmpty() {
		empty("url");
		return this;
	}

	public LinksCriteria andUrlIsNotEmpty() {
		notEmpty("url");
		return this;
	}
        public LinksCriteria andUrlLike(java.lang.String value) {
    	   addCriterion("url", value, ConditionMode.FUZZY, "url", "java.lang.String", "Float");
    	   return this;
      }

      public LinksCriteria andUrlNotLike(java.lang.String value) {
          addCriterion("url", value, ConditionMode.NOT_FUZZY, "url", "java.lang.String", "Float");
          return this;
      }
      public LinksCriteria andUrlEqualTo(java.lang.String value) {
          addCriterion("url", value, ConditionMode.EQUAL, "url", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andUrlNotEqualTo(java.lang.String value) {
          addCriterion("url", value, ConditionMode.NOT_EQUAL, "url", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andUrlGreaterThan(java.lang.String value) {
          addCriterion("url", value, ConditionMode.GREATER_THEN, "url", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andUrlGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("url", value, ConditionMode.GREATER_EQUAL, "url", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andUrlLessThan(java.lang.String value) {
          addCriterion("url", value, ConditionMode.LESS_THEN, "url", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andUrlLessThanOrEqualTo(java.lang.String value) {
          addCriterion("url", value, ConditionMode.LESS_EQUAL, "url", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andUrlBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("url", value1, value2, ConditionMode.BETWEEN, "url", "java.lang.String", "String");
    	  return this;
      }

      public LinksCriteria andUrlNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("url", value1, value2, ConditionMode.NOT_BETWEEN, "url", "java.lang.String", "String");
          return this;
      }
        
      public LinksCriteria andUrlIn(List<java.lang.String> values) {
          addCriterion("url", values, ConditionMode.IN, "url", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andUrlNotIn(List<java.lang.String> values) {
          addCriterion("url", values, ConditionMode.NOT_IN, "url", "java.lang.String", "String");
          return this;
      }
	public LinksCriteria andNameIsNull() {
		isnull("name");
		return this;
	}
	
	public LinksCriteria andNameIsNotNull() {
		notNull("name");
		return this;
	}
	
	public LinksCriteria andNameIsEmpty() {
		empty("name");
		return this;
	}

	public LinksCriteria andNameIsNotEmpty() {
		notEmpty("name");
		return this;
	}
        public LinksCriteria andNameLike(java.lang.String value) {
    	   addCriterion("name", value, ConditionMode.FUZZY, "name", "java.lang.String", "String");
    	   return this;
      }

      public LinksCriteria andNameNotLike(java.lang.String value) {
          addCriterion("name", value, ConditionMode.NOT_FUZZY, "name", "java.lang.String", "String");
          return this;
      }
      public LinksCriteria andNameEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andNameNotEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.NOT_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andNameGreaterThan(java.lang.String value) {
          addCriterion("name", value, ConditionMode.GREATER_THEN, "name", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andNameGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.GREATER_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andNameLessThan(java.lang.String value) {
          addCriterion("name", value, ConditionMode.LESS_THEN, "name", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andNameLessThanOrEqualTo(java.lang.String value) {
          addCriterion("name", value, ConditionMode.LESS_EQUAL, "name", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andNameBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("name", value1, value2, ConditionMode.BETWEEN, "name", "java.lang.String", "String");
    	  return this;
      }

      public LinksCriteria andNameNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("name", value1, value2, ConditionMode.NOT_BETWEEN, "name", "java.lang.String", "String");
          return this;
      }
        
      public LinksCriteria andNameIn(List<java.lang.String> values) {
          addCriterion("name", values, ConditionMode.IN, "name", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andNameNotIn(List<java.lang.String> values) {
          addCriterion("name", values, ConditionMode.NOT_IN, "name", "java.lang.String", "String");
          return this;
      }
	public LinksCriteria andImageIsNull() {
		isnull("image");
		return this;
	}
	
	public LinksCriteria andImageIsNotNull() {
		notNull("image");
		return this;
	}
	
	public LinksCriteria andImageIsEmpty() {
		empty("image");
		return this;
	}

	public LinksCriteria andImageIsNotEmpty() {
		notEmpty("image");
		return this;
	}
        public LinksCriteria andImageLike(java.lang.String value) {
    	   addCriterion("image", value, ConditionMode.FUZZY, "image", "java.lang.String", "String");
    	   return this;
      }

      public LinksCriteria andImageNotLike(java.lang.String value) {
          addCriterion("image", value, ConditionMode.NOT_FUZZY, "image", "java.lang.String", "String");
          return this;
      }
      public LinksCriteria andImageEqualTo(java.lang.String value) {
          addCriterion("image", value, ConditionMode.EQUAL, "image", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andImageNotEqualTo(java.lang.String value) {
          addCriterion("image", value, ConditionMode.NOT_EQUAL, "image", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andImageGreaterThan(java.lang.String value) {
          addCriterion("image", value, ConditionMode.GREATER_THEN, "image", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andImageGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("image", value, ConditionMode.GREATER_EQUAL, "image", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andImageLessThan(java.lang.String value) {
          addCriterion("image", value, ConditionMode.LESS_THEN, "image", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andImageLessThanOrEqualTo(java.lang.String value) {
          addCriterion("image", value, ConditionMode.LESS_EQUAL, "image", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andImageBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("image", value1, value2, ConditionMode.BETWEEN, "image", "java.lang.String", "String");
    	  return this;
      }

      public LinksCriteria andImageNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("image", value1, value2, ConditionMode.NOT_BETWEEN, "image", "java.lang.String", "String");
          return this;
      }
        
      public LinksCriteria andImageIn(List<java.lang.String> values) {
          addCriterion("image", values, ConditionMode.IN, "image", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andImageNotIn(List<java.lang.String> values) {
          addCriterion("image", values, ConditionMode.NOT_IN, "image", "java.lang.String", "String");
          return this;
      }
	public LinksCriteria andTargetIsNull() {
		isnull("target");
		return this;
	}
	
	public LinksCriteria andTargetIsNotNull() {
		notNull("target");
		return this;
	}
	
	public LinksCriteria andTargetIsEmpty() {
		empty("target");
		return this;
	}

	public LinksCriteria andTargetIsNotEmpty() {
		notEmpty("target");
		return this;
	}
        public LinksCriteria andTargetLike(java.lang.String value) {
    	   addCriterion("target", value, ConditionMode.FUZZY, "target", "java.lang.String", "String");
    	   return this;
      }

      public LinksCriteria andTargetNotLike(java.lang.String value) {
          addCriterion("target", value, ConditionMode.NOT_FUZZY, "target", "java.lang.String", "String");
          return this;
      }
      public LinksCriteria andTargetEqualTo(java.lang.String value) {
          addCriterion("target", value, ConditionMode.EQUAL, "target", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andTargetNotEqualTo(java.lang.String value) {
          addCriterion("target", value, ConditionMode.NOT_EQUAL, "target", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andTargetGreaterThan(java.lang.String value) {
          addCriterion("target", value, ConditionMode.GREATER_THEN, "target", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andTargetGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("target", value, ConditionMode.GREATER_EQUAL, "target", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andTargetLessThan(java.lang.String value) {
          addCriterion("target", value, ConditionMode.LESS_THEN, "target", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andTargetLessThanOrEqualTo(java.lang.String value) {
          addCriterion("target", value, ConditionMode.LESS_EQUAL, "target", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andTargetBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("target", value1, value2, ConditionMode.BETWEEN, "target", "java.lang.String", "String");
    	  return this;
      }

      public LinksCriteria andTargetNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("target", value1, value2, ConditionMode.NOT_BETWEEN, "target", "java.lang.String", "String");
          return this;
      }
        
      public LinksCriteria andTargetIn(List<java.lang.String> values) {
          addCriterion("target", values, ConditionMode.IN, "target", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andTargetNotIn(List<java.lang.String> values) {
          addCriterion("target", values, ConditionMode.NOT_IN, "target", "java.lang.String", "String");
          return this;
      }
	public LinksCriteria andDescriptionIsNull() {
		isnull("description");
		return this;
	}
	
	public LinksCriteria andDescriptionIsNotNull() {
		notNull("description");
		return this;
	}
	
	public LinksCriteria andDescriptionIsEmpty() {
		empty("description");
		return this;
	}

	public LinksCriteria andDescriptionIsNotEmpty() {
		notEmpty("description");
		return this;
	}
        public LinksCriteria andDescriptionLike(java.lang.String value) {
    	   addCriterion("description", value, ConditionMode.FUZZY, "description", "java.lang.String", "String");
    	   return this;
      }

      public LinksCriteria andDescriptionNotLike(java.lang.String value) {
          addCriterion("description", value, ConditionMode.NOT_FUZZY, "description", "java.lang.String", "String");
          return this;
      }
      public LinksCriteria andDescriptionEqualTo(java.lang.String value) {
          addCriterion("description", value, ConditionMode.EQUAL, "description", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andDescriptionNotEqualTo(java.lang.String value) {
          addCriterion("description", value, ConditionMode.NOT_EQUAL, "description", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andDescriptionGreaterThan(java.lang.String value) {
          addCriterion("description", value, ConditionMode.GREATER_THEN, "description", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andDescriptionGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("description", value, ConditionMode.GREATER_EQUAL, "description", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andDescriptionLessThan(java.lang.String value) {
          addCriterion("description", value, ConditionMode.LESS_THEN, "description", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andDescriptionLessThanOrEqualTo(java.lang.String value) {
          addCriterion("description", value, ConditionMode.LESS_EQUAL, "description", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andDescriptionBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("description", value1, value2, ConditionMode.BETWEEN, "description", "java.lang.String", "String");
    	  return this;
      }

      public LinksCriteria andDescriptionNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("description", value1, value2, ConditionMode.NOT_BETWEEN, "description", "java.lang.String", "String");
          return this;
      }
        
      public LinksCriteria andDescriptionIn(List<java.lang.String> values) {
          addCriterion("description", values, ConditionMode.IN, "description", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andDescriptionNotIn(List<java.lang.String> values) {
          addCriterion("description", values, ConditionMode.NOT_IN, "description", "java.lang.String", "String");
          return this;
      }
	public LinksCriteria andStatusIsNull() {
		isnull("status");
		return this;
	}
	
	public LinksCriteria andStatusIsNotNull() {
		notNull("status");
		return this;
	}
	
	public LinksCriteria andStatusIsEmpty() {
		empty("status");
		return this;
	}

	public LinksCriteria andStatusIsNotEmpty() {
		notEmpty("status");
		return this;
	}
        public LinksCriteria andStatusLike(java.lang.String value) {
    	   addCriterion("status", value, ConditionMode.FUZZY, "status", "java.lang.String", "String");
    	   return this;
      }

      public LinksCriteria andStatusNotLike(java.lang.String value) {
          addCriterion("status", value, ConditionMode.NOT_FUZZY, "status", "java.lang.String", "String");
          return this;
      }
      public LinksCriteria andStatusEqualTo(java.lang.String value) {
          addCriterion("status", value, ConditionMode.EQUAL, "status", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andStatusNotEqualTo(java.lang.String value) {
          addCriterion("status", value, ConditionMode.NOT_EQUAL, "status", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andStatusGreaterThan(java.lang.String value) {
          addCriterion("status", value, ConditionMode.GREATER_THEN, "status", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andStatusGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("status", value, ConditionMode.GREATER_EQUAL, "status", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andStatusLessThan(java.lang.String value) {
          addCriterion("status", value, ConditionMode.LESS_THEN, "status", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andStatusLessThanOrEqualTo(java.lang.String value) {
          addCriterion("status", value, ConditionMode.LESS_EQUAL, "status", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andStatusBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("status", value1, value2, ConditionMode.BETWEEN, "status", "java.lang.String", "String");
    	  return this;
      }

      public LinksCriteria andStatusNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("status", value1, value2, ConditionMode.NOT_BETWEEN, "status", "java.lang.String", "String");
          return this;
      }
        
      public LinksCriteria andStatusIn(List<java.lang.String> values) {
          addCriterion("status", values, ConditionMode.IN, "status", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andStatusNotIn(List<java.lang.String> values) {
          addCriterion("status", values, ConditionMode.NOT_IN, "status", "java.lang.String", "String");
          return this;
      }
	public LinksCriteria andRatingIsNull() {
		isnull("rating");
		return this;
	}
	
	public LinksCriteria andRatingIsNotNull() {
		notNull("rating");
		return this;
	}
	
	public LinksCriteria andRatingIsEmpty() {
		empty("rating");
		return this;
	}

	public LinksCriteria andRatingIsNotEmpty() {
		notEmpty("rating");
		return this;
	}
       public LinksCriteria andRatingEqualTo(java.lang.Integer value) {
          addCriterion("rating", value, ConditionMode.EQUAL, "rating", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andRatingNotEqualTo(java.lang.Integer value) {
          addCriterion("rating", value, ConditionMode.NOT_EQUAL, "rating", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andRatingGreaterThan(java.lang.Integer value) {
          addCriterion("rating", value, ConditionMode.GREATER_THEN, "rating", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andRatingGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("rating", value, ConditionMode.GREATER_EQUAL, "rating", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andRatingLessThan(java.lang.Integer value) {
          addCriterion("rating", value, ConditionMode.LESS_THEN, "rating", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andRatingLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("rating", value, ConditionMode.LESS_EQUAL, "rating", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andRatingBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("rating", value1, value2, ConditionMode.BETWEEN, "rating", "java.lang.Integer", "Float");
    	  return this;
      }

      public LinksCriteria andRatingNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("rating", value1, value2, ConditionMode.NOT_BETWEEN, "rating", "java.lang.Integer", "Float");
          return this;
      }
        
      public LinksCriteria andRatingIn(List<java.lang.Integer> values) {
          addCriterion("rating", values, ConditionMode.IN, "rating", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andRatingNotIn(List<java.lang.Integer> values) {
          addCriterion("rating", values, ConditionMode.NOT_IN, "rating", "java.lang.Integer", "Float");
          return this;
      }
	public LinksCriteria andRelIsNull() {
		isnull("rel");
		return this;
	}
	
	public LinksCriteria andRelIsNotNull() {
		notNull("rel");
		return this;
	}
	
	public LinksCriteria andRelIsEmpty() {
		empty("rel");
		return this;
	}

	public LinksCriteria andRelIsNotEmpty() {
		notEmpty("rel");
		return this;
	}
        public LinksCriteria andRelLike(java.lang.String value) {
    	   addCriterion("rel", value, ConditionMode.FUZZY, "rel", "java.lang.String", "Float");
    	   return this;
      }

      public LinksCriteria andRelNotLike(java.lang.String value) {
          addCriterion("rel", value, ConditionMode.NOT_FUZZY, "rel", "java.lang.String", "Float");
          return this;
      }
      public LinksCriteria andRelEqualTo(java.lang.String value) {
          addCriterion("rel", value, ConditionMode.EQUAL, "rel", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andRelNotEqualTo(java.lang.String value) {
          addCriterion("rel", value, ConditionMode.NOT_EQUAL, "rel", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andRelGreaterThan(java.lang.String value) {
          addCriterion("rel", value, ConditionMode.GREATER_THEN, "rel", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andRelGreaterThanOrEqualTo(java.lang.String value) {
          addCriterion("rel", value, ConditionMode.GREATER_EQUAL, "rel", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andRelLessThan(java.lang.String value) {
          addCriterion("rel", value, ConditionMode.LESS_THEN, "rel", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andRelLessThanOrEqualTo(java.lang.String value) {
          addCriterion("rel", value, ConditionMode.LESS_EQUAL, "rel", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andRelBetween(java.lang.String value1, java.lang.String value2) {
    	  addCriterion("rel", value1, value2, ConditionMode.BETWEEN, "rel", "java.lang.String", "String");
    	  return this;
      }

      public LinksCriteria andRelNotBetween(java.lang.String value1, java.lang.String value2) {
          addCriterion("rel", value1, value2, ConditionMode.NOT_BETWEEN, "rel", "java.lang.String", "String");
          return this;
      }
        
      public LinksCriteria andRelIn(List<java.lang.String> values) {
          addCriterion("rel", values, ConditionMode.IN, "rel", "java.lang.String", "String");
          return this;
      }

      public LinksCriteria andRelNotIn(List<java.lang.String> values) {
          addCriterion("rel", values, ConditionMode.NOT_IN, "rel", "java.lang.String", "String");
          return this;
      }
	public LinksCriteria andListorderIsNull() {
		isnull("listorder");
		return this;
	}
	
	public LinksCriteria andListorderIsNotNull() {
		notNull("listorder");
		return this;
	}
	
	public LinksCriteria andListorderIsEmpty() {
		empty("listorder");
		return this;
	}

	public LinksCriteria andListorderIsNotEmpty() {
		notEmpty("listorder");
		return this;
	}
       public LinksCriteria andListorderEqualTo(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.EQUAL, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andListorderNotEqualTo(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.NOT_EQUAL, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andListorderGreaterThan(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.GREATER_THEN, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andListorderGreaterThanOrEqualTo(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.GREATER_EQUAL, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andListorderLessThan(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.LESS_THEN, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andListorderLessThanOrEqualTo(java.lang.Integer value) {
          addCriterion("listorder", value, ConditionMode.LESS_EQUAL, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andListorderBetween(java.lang.Integer value1, java.lang.Integer value2) {
    	  addCriterion("listorder", value1, value2, ConditionMode.BETWEEN, "listorder", "java.lang.Integer", "Float");
    	  return this;
      }

      public LinksCriteria andListorderNotBetween(java.lang.Integer value1, java.lang.Integer value2) {
          addCriterion("listorder", value1, value2, ConditionMode.NOT_BETWEEN, "listorder", "java.lang.Integer", "Float");
          return this;
      }
        
      public LinksCriteria andListorderIn(List<java.lang.Integer> values) {
          addCriterion("listorder", values, ConditionMode.IN, "listorder", "java.lang.Integer", "Float");
          return this;
      }

      public LinksCriteria andListorderNotIn(List<java.lang.Integer> values) {
          addCriterion("listorder", values, ConditionMode.NOT_IN, "listorder", "java.lang.Integer", "Float");
          return this;
      }
}